﻿:r "Create\CreateDB.sql"

---------------------------------------------------------------
--Tables
---------------------------------------------------------------

:r "Create\Tables\Roles.sql"
:r "Create\Tables\UserGroupRoles.sql"
:r "Create\Tables\UserGroups.sql"
:r "Create\Tables\Users.sql"

---------------------------------------------------------------
--Constraints
---------------------------------------------------------------

:r "Create\Constraints\Constraints.sql"

---------------------------------------------------------------

--Insert System Data
---------------------------------------------------------------

:r "Inserts\SystemData\UserGroups.sql"
:r "Inserts\SystemData\Roles.sql"
:r "Inserts\SystemData\UserGroupRoles.sql"
:r "Inserts\SystemData\Users.sql"

---------------------------------------------------------------
--Tools
---------------------------------------------------------------

:r "Create\Tools\Tool_ScriptDiagram2005.sql"
:r "Create\Tools\Tool_VarbinaryToVarcharHex.sql"

---------------------------------------------------------------
-- Diagram
---------------------------------------------------------------

:r "Create\Diagram\Main.sql"

